/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "框架/工作区/节点构建.h"



C_节点面板* f_节点构建_场景物体拾取(S_UI创建环境& ctx, S_设备环境& dev_ctx, C_节点基类* node = 0, C_节点树* tree = nullptr);
void		f_节点重置_场景物体拾取(C_节点面板* plane, C_节点基类* node);



C_节点面板* f_节点构建_射线物体拾取(S_UI创建环境& ctx, S_设备环境& dev_ctx, C_节点基类* node = 0, C_节点树* tree = nullptr);
void		f_节点重置_射线物体拾取(C_节点面板* plane, C_节点基类* node);


C_节点面板* f_节点构建_范围拾取(S_UI创建环境& ctx, S_设备环境& dev_ctx, C_节点基类* node = 0, C_节点树* tree = nullptr);
void		f_节点重置_范围拾取(C_节点面板* plane, C_节点基类* node);


C_节点面板* f_节点构建_视口手柄(S_UI创建环境& ctx, S_设备环境& dev_ctx, C_节点基类* node = 0, C_节点树* tree = nullptr);
void		f_节点重置_视口手柄(C_节点面板* plane, C_节点基类* node);


C_节点面板* f_节点构建_帧时间(S_UI创建环境& ctx, S_设备环境& dev_ctx, C_节点基类* node = 0, C_节点树* tree = nullptr);
void		f_节点重置_帧时间(C_节点面板* plane, C_节点基类* node);



C_节点面板* f_节点构建_OpenVDB网格(S_UI创建环境& ctx, S_设备环境& dev_ctx, C_节点基类* node = 0, C_节点树* tree = nullptr);
void		f_节点重置_OpenVDB网格(C_节点面板* plane, C_节点基类* node);





bool f_场景节点重构(C_节点面板** plane, C_节点基类* node, S_UI创建环境* ctx);


